package douDiZhu;

public class Card {
    /**
     * 扑克牌类
     */
    private String point;//点数
    private String type;//花色
    private int number;//计数

    public Card() {
    }

    public Card(String point) {
        this.point = point;
    }

    public Card(String point, int number) {
        this.point = point;
        this.number = number;
    }

    public Card(String point, String type) {
        this.point = point;
        this.type = type;
    }

    public Card(String point, String type, int number) {
        this.point = point;
        this.type = type;
        this.number = number;
    }

    @Override
    public String toString() {
        return "Card{" +
                "point='" + point + '\'' +
                ", type='" + type + '\''+
                '}';
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}
